part of 'header.dart';

class FastNewsView extends StatelessWidget {
  const FastNewsView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 40.w,
      margin: EdgeInsets.symmetric(horizontal: 12.w),
      padding: EdgeInsets.symmetric(horizontal: 10.w),
      decoration: BoxDecoration(
          color: ColorsUtil.textBg, borderRadius: BorderRadius.circular(4.w)),
      child: Row(
        children: [
          loadImage(
              url: 'icon_News.png'.imgPathHome,
              width: 70.w,
              height: 16.w,
              fit: BoxFit.contain),
          SizedBox(
            width: 10.w,
          ),
          // Expanded(
          //   child: Marquee(
          //     text: '拓普丰联发布了一条招商信息',
          //     blankSpace: 100.w,
          //     style: TextStyle(color: ColorsUtil.subTitle, fontSize: font14),
          //   ),
          // ),
          MarqueePage(text: '拓普丰联发布了一条招商信息')
        ],
      ),
    );
  }
}
